Sequelize = require 'sequelize'
{connection} = require '../config'
connection  = connection[process.env['NODE_ENV']] || connection.test

instance = new Sequelize connection.database, connection.user, connection.password,
	dialect:'mysql'
	host:connection.host

module.exports =  {instance,Sequelize}
